.alert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: var(--color-shadow-fullscreen);
    overflow: hidden;
    z-index: 10;

    &-paper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-align: center;
        width: 100%;
        max-width: 460px;
        height: 312px;
        padding: 32px;
        border-radius: 12px;
        background-color: var(--color-essential);
    }

    &-header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;

        &_error {
            justify-content: space-between;
        }
    }

    &-close {
        cursor: pointer;
    }

    &-title {
        font-weight: 600;
        font-size: 20px;
        line-height: 26px;
    }

    &-footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;

        &_error {
            justify-content: flex-end;
        }
    }

    @media screen and (max-width: 540px) {
        &-paper {
            width: 280px;
            height: 220px;
            padding: 20px;
        }

        &-icon {
            width: 52px;
            height: 52px;
        }
    }
}
